package com.xiaoshuidi.cloud.module.finance.controller.app.invoice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "租客 APP 发票 Response VO")
@Data
public class AppBaseInvoiceVO {
    @Schema(description = "发票ID")
    private Long id;
    @Schema(description = "发票抬头")
    private String title;
    @Schema(description = "开票类型(个人/企业)")
    private String type;
    @Schema(description = "申请开票金额")
    private BigDecimal amount;
    @Schema(description = "发票类型(专票/普票)")
    private String invoiceType;
    @Schema(description = "申请开票时间")
    private LocalDateTime createTime;
    @Schema(description = "开票状态：1 开票中 2 已开票 3 开票失败 4 已红冲 7 红冲申请中 8 红冲确认中 9红冲失败")
    private String status;
    @Schema(description = "接收邮箱")
    private String email;
    @Schema(description = "接收手机号")
    private String mobile;
    @Schema(description = "关联业务id")
    private String sourceBizId;
    @Schema(description = "关联业务类型RENT_ORDER(\"账单\"), ROOM_RESERVE(\"房源预定\"), ACCOUNT_RECHARGE(\"账户充值\"), OWNER_ORDER(\"业主合同\"),COMPANY_RENT_ORDER(\"企业账单\"), SETTLEMENT_BILL(\"清算单\");")
    private String sourceBizType;
    @Schema(description = "pdf下载路径")
    private String pdfUrl;
}
